﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class InheritedTypeSet&lt;V&gt;
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class InheritedTypeSet&lt;V&gt;
   ">
    <meta name="generator" content="docfx 2.52.0.0">
    
    <link rel="shortcut icon" href="../api/images/favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> 
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    <script type="text/javascript" async="" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML"></script>
    
    
    
  </head>  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../api/images/favicon.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="SpiceSharp.General.InheritedTypeSet`1">
  
  
  <h1 id="SpiceSharp_General_InheritedTypeSet_1" data-uid="SpiceSharp.General.InheritedTypeSet`1" class="text-break">Class InheritedTypeSet&lt;V&gt;
  </h1>
  <div class="markdown level0 summary"><p>An <a class="xref" href="SpiceSharp.General.InheritedTypeDictionary-1.html">InheritedTypeDictionary&lt;V&gt;</a> that can add values by their own types.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">InheritedTypeSet&lt;V&gt;</span></div>
  </div>
  <div classs="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="SpiceSharp.General.ITypeSet-1.html">ITypeSet</a>&lt;V&gt;</div>
    <div><span class="xref">System.Collections.Generic.ICollection</span>&lt;V&gt;</div>
    <div><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;V&gt;</div>
    <div><span class="xref">System.Collections.IEnumerable</span></div>
    <div><a class="xref" href="SpiceSharp.ICloneable.html">ICloneable</a></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="SpiceSharp.General.html">SpiceSharp.General</a></h6>
  <h6><strong>Assembly</strong>: SpiceSharp.dll</h6>
  <h5 id="SpiceSharp_General_InheritedTypeSet_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class InheritedTypeSet&lt;V&gt; : ITypeSet&lt;V&gt;, ICollection&lt;V&gt;, IEnumerable&lt;V&gt;, IEnumerable, ICloneable</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">V</span></td>
        <td><p>The base value type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
  </h3>
  <a id="SpiceSharp_General_InheritedTypeSet_1__ctor_" data-uid="SpiceSharp.General.InheritedTypeSet`1.#ctor*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1__ctor" data-uid="SpiceSharp.General.InheritedTypeSet`1.#ctor">InheritedTypeSet()</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="SpiceSharp.General.InheritedTypeSet-1.html">InheritedTypeSet&lt;V&gt;</a> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public InheritedTypeSet()</code></pre>
  </div>
  <a id="SpiceSharp_General_InheritedTypeSet_1__ctor_" data-uid="SpiceSharp.General.InheritedTypeSet`1.#ctor*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1__ctor_SpiceSharp_General_InheritedTypeSet__0__" data-uid="SpiceSharp.General.InheritedTypeSet`1.#ctor(SpiceSharp.General.InheritedTypeSet{`0})">InheritedTypeSet(InheritedTypeSet&lt;V&gt;)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="SpiceSharp.General.InheritedTypeSet-1.html">InheritedTypeSet&lt;V&gt;</a> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected InheritedTypeSet(InheritedTypeSet&lt;V&gt; original)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.General.InheritedTypeSet-1.html">InheritedTypeSet</a>&lt;V&gt;</td>
        <td><span class="parametername">original</span></td>
        <td><p>The original.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  <a id="SpiceSharp_General_InheritedTypeSet_1_Count_" data-uid="SpiceSharp.General.InheritedTypeSet`1.Count*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_Count" data-uid="SpiceSharp.General.InheritedTypeSet`1.Count">Count</h4>
  <div class="markdown level1 summary"><p>Gets the number of elements contained in the set.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public int Count { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_General_InheritedTypeSet_1_IsReadOnly_" data-uid="SpiceSharp.General.InheritedTypeSet`1.IsReadOnly*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_IsReadOnly" data-uid="SpiceSharp.General.InheritedTypeSet`1.IsReadOnly">IsReadOnly</h4>
  <div class="markdown level1 summary"><p>Gets a value indicating whether the set is read-only.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool IsReadOnly { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <a id="SpiceSharp_General_InheritedTypeSet_1_Add_" data-uid="SpiceSharp.General.InheritedTypeSet`1.Add*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_Add__0_" data-uid="SpiceSharp.General.InheritedTypeSet`1.Add(`0)">Add(V)</h4>
  <div class="markdown level1 summary"><p>Adds the specified value.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Add(V value)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">V</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>The value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_General_InheritedTypeSet_1_Clear_" data-uid="SpiceSharp.General.InheritedTypeSet`1.Clear*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_Clear" data-uid="SpiceSharp.General.InheritedTypeSet`1.Clear">Clear()</h4>
  <div class="markdown level1 summary"><p>Removes all items from the set.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Clear()</code></pre>
  </div>
  <a id="SpiceSharp_General_InheritedTypeSet_1_Clone_" data-uid="SpiceSharp.General.InheritedTypeSet`1.Clone*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_Clone" data-uid="SpiceSharp.General.InheritedTypeSet`1.Clone">Clone()</h4>
  <div class="markdown level1 summary"><p>Clones the instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ICloneable Clone()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.ICloneable.html">ICloneable</a></td>
        <td><p>The cloned instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_General_InheritedTypeSet_1_Contains_" data-uid="SpiceSharp.General.InheritedTypeSet`1.Contains*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_Contains__0_" data-uid="SpiceSharp.General.InheritedTypeSet`1.Contains(`0)">Contains(V)</h4>
  <div class="markdown level1 summary"><p>Determines whether this instance contains the object.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool Contains(V item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">V</span></td>
        <td><span class="parametername">item</span></td>
        <td><p>The object to locate in the set.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>true if <code data-dev-comment-type="paramref" class="paramref">item</code> is found in the set; otherwise, false.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_General_InheritedTypeSet_1_ContainsType_" data-uid="SpiceSharp.General.InheritedTypeSet`1.ContainsType*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_ContainsType_System_Type_" data-uid="SpiceSharp.General.InheritedTypeSet`1.ContainsType(System.Type)">ContainsType(Type)</h4>
  <div class="markdown level1 summary"><p>Determines whether this instance contains a value of the specified type.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool ContainsType(Type key)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Type</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p><code>true</code> if the specified key contains type; otherwise, <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p>Thrown if <code data-dev-comment-type="paramref" class="paramref">key</code> is <code>null</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_General_InheritedTypeSet_1_ContainsType_" data-uid="SpiceSharp.General.InheritedTypeSet`1.ContainsType*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_ContainsType__1" data-uid="SpiceSharp.General.InheritedTypeSet`1.ContainsType``1">ContainsType&lt;TResult&gt;()</h4>
  <div class="markdown level1 summary"><p>Determines whether this instance contains a value of the specified type.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool ContainsType&lt;TResult&gt;()
    where TResult : V</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p><code>true</code> if this instance contains type; otherwise, <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>The type of the result.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_General_InheritedTypeSet_1_CopyFrom_" data-uid="SpiceSharp.General.InheritedTypeSet`1.CopyFrom*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_CopyFrom_SpiceSharp_ICloneable_" data-uid="SpiceSharp.General.InheritedTypeSet`1.CopyFrom(SpiceSharp.ICloneable)">CopyFrom(ICloneable)</h4>
  <div class="markdown level1 summary"><p>Copies the contents of one interface to this one.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void CopyFrom(ICloneable source)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.ICloneable.html">ICloneable</a></td>
        <td><span class="parametername">source</span></td>
        <td><p>The source parameter.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p>Thrown if <code data-dev-comment-type="paramref" class="paramref">source</code> is <code>null</code>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.ArgumentException</span></td>
        <td><p>Thrown if <code data-dev-comment-type="paramref" class="paramref">source</code> does not have the same type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_General_InheritedTypeSet_1_CopyTo_" data-uid="SpiceSharp.General.InheritedTypeSet`1.CopyTo*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_CopyTo__0___System_Int32_" data-uid="SpiceSharp.General.InheritedTypeSet`1.CopyTo(`0[],System.Int32)">CopyTo(V[], Int32)</h4>
  <div class="markdown level1 summary"><p>Copies the elements of the <span class="xref">System.Collections.Generic.ICollection&lt;T&gt;</span> to an <span class="xref">System.Array</span>, starting at a particular <span class="xref">System.Array</span> index.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void CopyTo(V[] array, int arrayIndex)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>V[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional <span class="xref">System.Array</span> that is the destination of the elements copied from <span class="xref">System.Collections.Generic.ICollection&lt;T&gt;</span>. The <span class="xref">System.Array</span> must have zero-based indexing.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">arrayIndex</span></td>
        <td><p>The zero-based index in <code data-dev-comment-type="paramref" class="paramref">array</code> at which copying begins.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_General_InheritedTypeSet_1_GetEnumerator_" data-uid="SpiceSharp.General.InheritedTypeSet`1.GetEnumerator*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_GetEnumerator" data-uid="SpiceSharp.General.InheritedTypeSet`1.GetEnumerator">GetEnumerator()</h4>
  <div class="markdown level1 summary"><p>Returns an enumerator that iterates through the collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IEnumerator&lt;V&gt; GetEnumerator()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerator</span>&lt;V&gt;</td>
        <td><p>An enumerator that can be used to iterate through the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_General_InheritedTypeSet_1_GetValue_" data-uid="SpiceSharp.General.InheritedTypeSet`1.GetValue*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_GetValue__1" data-uid="SpiceSharp.General.InheritedTypeSet`1.GetValue``1">GetValue&lt;TResult&gt;()</h4>
  <div class="markdown level1 summary"><p>Gets a value from the set with the specified type.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public TResult GetValue&lt;TResult&gt;()
    where TResult : V</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>The value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>The result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.General.AmbiguousTypeException.html">AmbiguousTypeException</a></td>
        <td><p>Thrown if the type could not be resolved to a single instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_General_InheritedTypeSet_1_Remove_" data-uid="SpiceSharp.General.InheritedTypeSet`1.Remove*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_Remove__0_" data-uid="SpiceSharp.General.InheritedTypeSet`1.Remove(`0)">Remove(V)</h4>
  <div class="markdown level1 summary"><p>Removes the first occurrence of a specific object from the set.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool Remove(V item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">V</span></td>
        <td><span class="parametername">item</span></td>
        <td><p>The object to remove from the set.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>true if <code data-dev-comment-type="paramref" class="paramref">item</code> was successfully removed from the set; otherwise, false. This method also returns false if <code data-dev-comment-type="paramref" class="paramref">item</code> is not found in the original set.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_General_InheritedTypeSet_1_TryGetValue_" data-uid="SpiceSharp.General.InheritedTypeSet`1.TryGetValue*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_TryGetValue__1___0__" data-uid="SpiceSharp.General.InheritedTypeSet`1.TryGetValue``1(``0@)">TryGetValue&lt;TResult&gt;(out TResult)</h4>
  <div class="markdown level1 summary"><p>Tries getting a value from the set with the specified type.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool TryGetValue&lt;TResult&gt;(out TResult value)
    where TResult : V</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>The value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p><code>true</code> if the value was found; otherwise, <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>The result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.General.AmbiguousTypeException.html">AmbiguousTypeException</a></td>
        <td><p>Thrown if the type could not be resolved to a single instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="eii">Explicit Interface Implementations
  </h3>
  <a id="SpiceSharp_General_InheritedTypeSet_1_System_Collections_IEnumerable_GetEnumerator_" data-uid="SpiceSharp.General.InheritedTypeSet`1.System#Collections#IEnumerable#GetEnumerator*"></a>
  <h4 id="SpiceSharp_General_InheritedTypeSet_1_System_Collections_IEnumerable_GetEnumerator" data-uid="SpiceSharp.General.InheritedTypeSet`1.System#Collections#IEnumerable#GetEnumerator">IEnumerable.GetEnumerator()</h4>
  <div class="markdown level1 summary"><p>Returns an enumerator that iterates through a collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">IEnumerator IEnumerable.GetEnumerator()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.IEnumerator</span></td>
        <td><p>An <span class="xref">System.Collections.IEnumerator</span> object that can be used to iterate through the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="implements">Implements</h3>
  <div>
      <a class="xref" href="SpiceSharp.General.ITypeSet-1.html">ITypeSet&lt;V&gt;</a>
  </div>
  <div>
      <span class="xref">System.Collections.Generic.ICollection&lt;T&gt;</span>
  </div>
  <div>
      <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>
  </div>
  <div>
      <span class="xref">System.Collections.IEnumerable</span>
  </div>
  <div>
      <a class="xref" href="SpiceSharp.ICloneable.html">ICloneable</a>
  </div>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="SpiceSharp.Utility.html#SpiceSharp_Utility_ThrowIfNull__1___0_System_String_">Utility.ThrowIfNull&lt;T&gt;(T, String)</a>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
